<html>

<body>
  <table border=0 cellSpacing=0 cellPadding=0 width="100%">
    <tr>
      <td colspan="6" align="center">销售月报表(按业务员汇总)</td>
    </tr>
    <tr>
      <td width="12%"><span style='font-size: 13'>月份</span></td>
      <td width="15%"><span style='font-size: 13'>{$data["bizDate"]}</span></td>
      <td width="12%"><span style='font-size: 13'></span></td>
      <td width="15%"><span style='font-size: 13'></span></td>
      <td width="12%"><span style='font-size: 13'>打印时间</span></td>
      <td><span style='font-size: 13'>{$data["printDT"]}</span></td>
    </tr>
    <tr>
      <td width="12%"><span style='font-size: 13'>销售出库金额</span></td>
      <td width="15%"><span style='font-size: 13'>{$data["saleMoney"]}</span></td>
      <td width="12%"><span style='font-size: 13'>退货入库金额</span></td>
      <td width="15%"><span style='font-size: 13'>{$data["rejMoney"]}</span></td>
      <td width="12%"><span style='font-size: 13'>净销售额</span></td>
      <td width="15%"><span style='font-size: 13'>{$data["m"]}</span></td>
    </tr>
    <tr>
      <td width="12%"><span style='font-size: 13'>毛利</span></td>
      <td width="15%"><span style='font-size: 13'>{$data["profit"]}</span></td>
      <td width="12%"><span style='font-size: 13'>毛利率</span></td>
      <td width="15%"><span style='font-size: 13'>{$data["rate"]}</span></td>
      <td width="12%"><span style='font-size: 13'></span></td>
      <td width="15%"><span style='font-size: 13'></span></td>
    </tr>
  </table>
  <br />
  <table border=1 cellSpacing=0 cellPadding=1 width="100%" style="border-collapse: collapse" bordercolor="#333333">
    <tr>
      <td>
        <div align="center" style='font-size: 13'>业务员编码</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>业务员</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>销售出库金额</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>退回入库金额</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>净销售金额</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>毛利</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>毛利率</div>
      </td>
    </tr>
    <foreach name="data['items']" item="v" key="i">
      <tr>
        <td>
          <div style='font-size: 13'>{$v["userCode"]}</div>
        </td>
        <td>
          <div style='font-size: 13'>{$v["userName"]}</div>
        </td>
        <td>
          <div align="right" style='font-size: 13'>{$v["saleMoney"]}</div>
        </td>
        <td>
          <div align="right" style='font-size: 13'>{$v["rejMoney"]}</div>
        </td>
        <td>
          <div align="right" style='font-size: 13'>{$v["m"]}</div>
        </td>
        <td>
          <div align="right" style='font-size: 13'>{$v["profit"]}</div>
        </td>
        <td>
          <div align="right" style='font-size: 13'>{$v["rate"]}</div>
        </td>
      </tr>
    </foreach>
  </table>
</body>

</html>
